]> dgit.raspbian.org Git - gnome-shell.git/commit
panelMenu: Consider vertical margins when computing max-height
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 13 Feb 2015 19:52:11 +0000 (20:52 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 15 Feb 2015 09:23:39 +0000 (10:23 +0100)
commit7bb7734869c097b2089c831714d1c65884481d19
tree04ae2052b91a178dbf171775cc709106105a3aa0
parent2f554e27f20e1b9ffe5f0aecbed69c2ac0db9701
panelMenu: Consider vertical margins when computing max-height

When opening a panel menu, we set it's max-height to the available
work-area height to keep menus with scrollable content from growing
outside the monitor. However a menu that extends all the way down
to the bottom edge does not look great either, so also take margins
into account here.

https://bugzilla.gnome.org/show_bug.cgi?id=744498
data/theme/gnome-shell.css
js/ui/panelMenu.js